-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore!: refactored the getTransactionCost
method
#2643
chore!: refactored the getTransactionCost
method
#2643
Conversation
…/chore/refactor-get-transaction-cost
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @petertonysmith94 I understand that this is a draft yet, just leave a couple of questions here to better understand your motivations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Torres-ssf really appreciate the review on the draft :)
…onCost`" This reverts commit efd6f7e.
…/chore/refactor-get-transaction-cost
getTransactionCost
methodgetTransactionCost
method
…/chore/refactor-get-transaction-cost
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conflicts to fix.
https://github.com/FuelLabs/fuels-ts into ps/chore/refactor-get-transaction-cost
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@petertonysmith94 I feel like we need to update this doc page to say that the getTransactionCost
method is provided by the Account class instead of the Provider class, what do you think?
…/chore/refactor-get-transaction-cost
Coverage Report:
Changed Files:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job!
Provider.getTransactionCost
#2362Release notes
In this release, we:
getTransactionCost
method forProvider
andAccount
Summary
Provider.getTransactionCost
toAccount.getTransactionCost
:Provider.getResourcesForTransaction
method:Breaking Changes
Refactored functionality for
Provider.getTransactionCost
toAccount.getTransactionCost
and changed estimation parameter fromquantitiesToContract
toquantities
.Checklist
tests
to prove my changesdocs